package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.njtoyo.taxi.admin.mapper.master.entity.ScanRide;

public enum ScanRideOrdePaymentChannel {
    ali_pay(0, "支付宝"),
    wx_pay(1, "微信"),
    union_pay(2, "云闪付"),
    wxmina(3, "微信小程序");

    @EnumValue
    private final int code;
    private final String desc;

    ScanRideOrdePaymentChannel(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
